package com.zhan.yunpicturebackend.utils;

import org.springframework.util.DigestUtils;

/**
 * ClassName: EncipherUtil
 * Description:
 * date: 2025/2/17 0017 20:10
 *
 * @author zHan
 */
public class EncipherUtil {

    public static String getEncipherPassword(String password) {
        // 加盐
        String salt = "zHan";
        return DigestUtils.md5DigestAsHex((salt + password).getBytes());
    }
}
